import * as types from './types'
export default {
	setToken(state,res) {
		state.commit(types.SET_TOKEN,res)
	},
	setExpires(state,res) {
		state.commit(types.SET_EXPIRES,res)
	},
	setRefreshToken(state,res) {
		state.commit(types.SET_REFRESHTOKEN,res)
	},
	setMenuActive(state,res) {
		state.commit(types.SET_MENUACTIVE,res)
	},
	setMenuOpen(state,res) {
		state.commit(types.SET_MENUOPEN,res)
	},
	setMenuIndex(state,res) {
		state.commit(types.SET_MENUINDEX,res)
	},
	setSpinShow(state,res) {
		state.commit(types.SET_SPINSHOW,res)
	},
	setMenuData(state,res) {
		state.commit(types.SET_MENUDATA,res)
	},
	setUserInfo(state,res) {
		state.commit(types.SET_USERINFO,res)
	},
	setWelistenOrder(state,res){
		state.commit(types.SET_WELISTEN_ORDER.res)
	}
	
	
}
